package com.ju.ushop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ju.common.utils.PageUtils;
import com.ju.ushop.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author guojun
 * @email 864350301@qq.com
 * @date 2021-05-18 22:37:08
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuIds(List<Long> asList);

    /**
     * 查找catelogId的完整路径
     * @param catelogId
     * @return
     */
    List<Long> findCatelogPath(Long catelogId);
}

